<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<form method="post" action="/Orcamento/fund/update">
	<fieldset>
		<legend>Fundo: ${fund.event.name}</legend>
		
		<label>
			Valor Inicial
			<input type="text" name="fund.startMoney" required placeholder="Valor Inicial do Fundo" value="${fund.startMoney}" class="money">
		</label>
		
		<label class="radio inline">
			 <input type="radio" name="fund.status" value="true" <c:if test="${fund.status}">checked</c:if>> Ativado
		</label>
		<label class="radio inline">
			<input type="radio" name="fund.status" value="false" <c:if test="${!fund.status}">checked</c:if>> Desativado
		</label>	
		
		<p><button type="submit" class="btn" id="submit">Atualizar</button></p>
		<input type="hidden" name="fund.id" value="${fund.id}">
	</fieldset>
</form>